package com.echo.tsxStudy.soleDemo.model;

import java.io.Serializable;

import org.apache.solr.client.solrj.beans.Field;

public class SolrModel  implements Serializable{
	private static final long serialVersionUID = 1L;
	@Field 
	private  String id;
	@Field
	private  String name;
	@Field
	private  float price;
	@Field
	private   String author;
	@Field
	private  String   isStock;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getIsStock() {
		return isStock;
	}

	public void setIsStock(String isStock) {
		this.isStock = isStock;
	}

	@Override
	public String toString() {
		return "SolrModel [id=" + id + ", name=" + name + ", price=" + price + ", author=" + author + ", isStock="
				+ isStock + "]";
	}
	
}
